C:\BACNET\bin>bacrpm
Usage: bacrpm device-instance object-type object-instance property[index][,property[index]] [object-type ...]

device-instance:
BACnet Device Object Instance number that you are trying to communicate to.
This number will be used to try and bind with the device using Who-Is and I-Am services.
For example, if you were reading Device Object 123, the device-instance would be 123.

object-type:
The object type is the integer value of the enumeration BACNET_OBJECT_TYPE in bacenum.h.
It is the object that you are reading.
For example if you were reading Analog Output 2, the object-type would be 1.

object-instance:
This is the object instance number of the object that you are reading.
For example, if you were reading Analog Output 2, the object-instance would be 2.
If you were reading data from a device object type, the object-instance would be 8.

property:
The property is an integer value of the enumeration BACNET_PROPERTY_ID in bacenum.h.
It is the property you are reading.
For example, if you were reading the Present Value property, use 85 as the property.

[index]:
This optional integer parameter is the index number of an array property.
Individual elements of an array can be read.
If this parameter is missing and the property is an array, the entire array will be read.

Example:
If you want read the PRESENT_VALUE property and various array elements of the PRIORITY_ARRAY in Device 123 Analog Output object 99, use the following command:
bacrpm 123 1 99 85,87[0],87
If you want read the PRESENT_VALUE property in objects Analog Input 77 and Analog Input 78 in Device 123 use the following command:
bacrpm 123 0 77 85 0 78 85
If you want read the ALL property in Device object 123, you would use the following command:
bacrpm 123 8 123 8
If you want read the OPTIONAL property in Device object 123, you would use the following command:
bacrpm 123 8 123 80
If you want read the REQUIRED property in Device object 123, you would use the following command:
bacrpm 123 8 123 105